summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeve1227 <killenlillen02@gmail.com>2023-06-03 17:23:14 +0200
committerKeve1227 <killenlillen02@gmail.com>2023-06-03 17:23:14 +0200
commita0f235f4fd6b04589a4cd17bb01ec64fb2f51e54 (patch)
tree732c6593eaeb99bbed7f53ef39f0d317d437bbfa
parentIssue a reload if the system language changed (diff)
downloadyuzu-a0f235f4fd6b04589a4cd17bb01ec64fb2f51e54.tar
yuzu-a0f235f4fd6b04589a4cd17bb01ec64fb2f51e54.tar.gz
yuzu-a0f235f4fd6b04589a4cd17bb01ec64fb2f51e54.tar.bz2
yuzu-a0f235f4fd6b04589a4cd17bb01ec64fb2f51e54.tar.lz
yuzu-a0f235f4fd6b04589a4cd17bb01ec64fb2f51e54.tar.xz
yuzu-a0f235f4fd6b04589a4cd17bb01ec64fb2f51e54.tar.zst
yuzu-a0f235f4fd6b04589a4cd17bb01ec64fb2f51e54.zip
-rw-r--r--src/core/file_sys/control_metadata.cpp12
-rw-r--r--src/core/file_sys/control_metadata.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp
index 50f44f598..cd9ac2e75 100644
--- a/src/core/file_sys/control_metadata.cpp
+++ b/src/core/file_sys/control_metadata.cpp
@@ -23,8 +23,8 @@ const std::array<const char*, 16> LANGUAGE_NAMES{{
"Portuguese",
"Russian",
"Korean",
- "Taiwanese",
- "Chinese",
+ "TraditionalChinese",
+ "SimplifiedChinese",
"BrazilianPortuguese",
}};
@@ -45,17 +45,17 @@ constexpr std::array<Language, 18> language_to_codes = {{
Language::German,
Language::Italian,
Language::Spanish,
- Language::Chinese,
+ Language::SimplifiedChinese,
Language::Korean,
Language::Dutch,
Language::Portuguese,
Language::Russian,
- Language::Taiwanese,
+ Language::TraditionalChinese,
Language::BritishEnglish,
Language::CanadianFrench,
Language::LatinAmericanSpanish,
- Language::Chinese,
- Language::Taiwanese,
+ Language::SimplifiedChinese,
+ Language::TraditionalChinese,
Language::BrazilianPortuguese,
}};
diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h
index 6a81873b1..c98efb00d 100644
--- a/src/core/file_sys/control_metadata.h
+++ b/src/core/file_sys/control_metadata.h
@@ -84,8 +84,8 @@ enum class Language : u8 {
Portuguese = 10,
Russian = 11,
Korean = 12,
- Taiwanese = 13,
- Chinese = 14,
+ TraditionalChinese = 13,
+ SimplifiedChinese = 14,
BrazilianPortuguese = 15,
Default = 255,